<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户详情</title>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%> 
<c:set var="ctx" value="<%=basePath%>" scope="page"/>
</head>
<body class="easyui-layout" fit="true" >
	<div class="easyui-panel"   data-options="border:false" style="margin-top: 5px;">
		<table style="width:100%;font-size: small;">
			<tr>
				<td>姓名：</td>
				<td>${userInfo.name }</td>
			</tr>
			<tr>
				<td>年龄：</td>
				<td>${userInfo.age }</td>
			</tr>
			<tr>
				<td>性别：</td>
				<td>
					<c:if test='${userInfo.sex == 1 }'>男</c:if>
					<c:if test='${userInfo.sex == 2 }'>女</c:if>
				</td>
			</tr>
			<tr>
				<td>出生日期：</td>
				<td>${userInfo.birthdayStr }</td>
			</tr>
		</table>
	</div>
</body>
</html>